package com.pilipili.dao;

import com.pilipili.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    //查
    public Users selectUser(@Param("username") String username);
    //增
    public int insertUser(Users users);

    public List<Users> selectAllUser();

    public int deleteUser(@Param("username") String username);

    public int updateUser(Users users);
}
